package io;

import java.io.FileInputStream;
import java.io.IOException;

public class FISDemo3 {
    public static void main(String[] args) throws IOException {
        FileInputStream in = new FileInputStream("./fos.dat");
        int b;


        while ((b=in.read())!=-1){
            System.out.println(b);

        }
        System.out.println(b);
        in.close();
    }
}
